package com.github.pig.admin.service;

import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.service.IService;
import com.github.pig.admin.model.dto.LabelTree;
import com.github.pig.admin.model.entity.SysLabel;

import java.util.List;

public interface SysLabelService extends IService<SysLabel> {

    /**
     * 查询渠道来源树
     * @param labelEntityWrapper
     * @return 树
     */
    List<LabelTree> selectListTree(EntityWrapper<SysLabel> labelEntityWrapper);

    List<Integer> getPathById(Integer id);


}
